package codec;

import org.apache.mina.core.buffer.IoBuffer;
import org.apache.mina.core.session.IoSession;
import org.apache.mina.filter.codec.CumulativeProtocolDecoder;
import org.apache.mina.filter.codec.ProtocolDecoderOutput;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created with IntelliJ IDEA.
 * User: zhangyong
 * Date: 13-7-23
 * Time: 下午10:00
 * To change this template use File | Settings | File Templates.
 */
public class CommandDecoder extends CumulativeProtocolDecoder {

    private static Logger logger = LoggerFactory.getLogger(CommandDecoder.class);

    protected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws Exception {
        return false;
    }

}
